package com.mindfreez.shipping.usps.domain;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.ArrayList;
import java.util.List;

@XStreamAlias("RateV4Request")
public class RateRequest {
    @XStreamAlias("USERID")
    @XStreamAsAttribute
    private String userId;
    
    @XStreamAlias("Revision")
    private Integer revision;
    
    @XStreamImplicit
    private List<Container> containers = new ArrayList<Container>();

    public List<Container> getContainers() {
        return containers;
    }

    public void setContainers(List<Container> containers) {
        this.containers = containers;
    }

    public Integer getRevision() {
        return revision;
    }

    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
